package com.dailyblue.java.spring.mybatis.service.impl;

import com.dailyblue.java.spring.mybatis.bean.Emp;
import com.dailyblue.java.spring.mybatis.mapper.EmpMapper;
import com.dailyblue.java.spring.mybatis.service.EmpService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class EmpServiceImpl implements EmpService {
    @Resource
    private EmpMapper empMapper;
    @Override
    public List<Emp> findAllEmp() {
        return empMapper.findAllEmp();
    }
}
